
import 'dart:convert';

FolderKnowledgeWordsDto folderKnowledgeWordsDtoFromJson(String str) => FolderKnowledgeWordsDto.fromJson(json.decode(str));

String folderKnowledgeWordsDtoToJson(FolderKnowledgeWordsDto data) => json.encode(data.toJson());

class FolderKnowledgeWordsDto {
    FolderKnowledgeWordsDto({
        this.folderIds,
        this.knowledgeIds,
    });

    List<String>? folderIds;
    List<String>? knowledgeIds;

    factory FolderKnowledgeWordsDto.fromJson(Map<String, dynamic> json) => FolderKnowledgeWordsDto(
        folderIds: json["folderIds"]!=null ? List<String>.from(json["folderIds"].map((x) => x)): null,
        knowledgeIds:json["knowledgeIds"]!=null ? List<String>.from(json["knowledgeIds"].map((x) => x)): null,
    );

    Map<String, dynamic> toJson() => {
        "folderIds":folderIds!=null ? List<dynamic>.from(folderIds!.map((x) => x)) : null,
        "knowledgeIds": knowledgeIds!=null ? List<dynamic>.from(knowledgeIds!.map((x) => x)): null,
    };
}
